import types from "./mutation-types.js";
import datas from "./mock.js";
const store = {
  namespaced: true,
  state: {
    program_types_list: []
  },
  mutations: {
    [types.SET_PROGRAM_TYPES](state, program_types_list) {
      state.program_types_list = program_types_list;
    }
  },
  actions: {
    getProgramTypesList({ commit }) {
      setTimeout(() => {
        commit(types.SET_PROGRAM_TYPES, datas);
      }, 800);
    }
  }
};

export default store;
